package com.wyy.test;

/**
 * @Date: 2022/4/2
 * @Author: wyy
 */
public class Student implements IUser {
    private int age;
    private String name;

    public String getName() {
        return name;
    }

    public Student setName(String name) {
        this.name = name;
        return this;
    }

    public int getAge() {
        return age;
    }

    public Student setAge(int age) {
        this.age = age;
        return this;
    }

    @Override
    public void speaker() {
        System.out.println("I am a student");
    }
}
